home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Contributions / Interworks / Networking / INet-225 / include / sys / uio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-08  |  296 b   |  18 lines

  1. #ifndef SYS_UIO_H
  2. #define SYS_UIO_H
  3.  
  4. enum uio_op {UIO_READ=1, UIO_WRITE=2};
  5.  
  6. struct iovec {
  7.     char    *iov_base;
  8.     int    iov_len;
  9. };
  10.  
  11. struct uio {
  12.     int    uio_resid;        /* Total data length in UIO    */
  13.     int    uio_iovcnt;        /* number of IOVs        */
  14.     struct    iovec *uio_iov;        /* struct iovec[uio_iovcnt];    */
  15. };
  16.  
  17. #endif
  18.